﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="ManagerAccountTuDiemAdd.aspx.cs" Inherits="Continental.Admin.ManagerAccountTuDiemAdd"
    Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_hor_menu" runat="server">
    <ul>
        <li><a href="Index.aspx"><span><strong>TRANG CHỦ</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ SẢN PHẨM</strong></span></a></li>
        <li><a href="ManagerTuDiem.aspx" class="active"><span><strong>QUẢN LÝ TỤ ĐIỂM</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ VIỆN ẢNH</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ GIẢI TRÍ</strong></span></a></li>
        <li><a href="ManagerUser.aspx"><span><strong>QUẢN LÝ NGƯỜI DÙNG</strong></span></a></li>
        <li><a href="ManagerExtension.aspx"><span><strong>MỞ RỘNG</strong></span></a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_menu_content" runat="server">
    <ul>
        <li><a href="ManagerTuDiem.aspx" class="active-left-menu">Danh sách Tụ Điểm</a></li>
        <li><a href="ManagerNhomTuDiem.aspx">Quản lý Nhóm Tụ Điểm</a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_breadcum" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cph_main_content" runat="server">
    <table id="tblThemMoi">
        <tr>
            <td colspan="3">
                <%= message %>
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                :
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvEmail" ControlToValidate="txtEmail" runat="server"
                    ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revEmail" ControlToValidate="txtEmail" runat="server"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Email không hợp lệ"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Họ tên
            </td>
            <td>
                :
            </td>
            <td>
                <asp:TextBox ID="txtFullName" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvFullName" ControlToValidate="txtFullName" runat="server"
                    ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td>
                Số điện thoại
            </td>
            <td>
                :
            </td>
            <td>
                <asp:TextBox ID="txtMobile" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Mật khẩu
            </td>
            <td>
                :
            </td>
            <td>
                <asp:TextBox ID="txtPassword" runat="server" Width="300px" MaxLength="100" TextMode="Password"
                    Text=""></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvPassword" ControlToValidate="txtPassword" runat="server"
                    ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revPassword" ControlToValidate="txtPassword"
                    ValidationExpression="[a-zA-Z0-9@#$]+" runat="server" ErrorMessage="Mật khẩu chỉ gồm kí tự : a->z A->Z 1->9 @ # $"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Xác nhận mật khẩu
            </td>
            <td>
                :
            </td>
            <td>
                <asp:TextBox ID="txtPassword2" runat="server" Width="300px" MaxLength="100" TextMode="Password"
                    Text=""></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtPassword2"
                    runat="server" ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="cvPassword" runat="server" ControlToValidate="txtPassword2"
                    ControlToCompare="txtPassword" ErrorMessage="2 mật khẩu không khớp"></asp:CompareValidator>
            </td>
        </tr>
    </table>
    <div class="command-box">
        <asp:Button ID="btnSave" runat="server" Width="100px" Text="Thêm mới" ValidationGroup="CAPNHAT"
            Font-Bold="true" OnClick="btnSave_Click" style="height: 26px" />&nbsp;
        <asp:Button ID="btnCancel" runat="server" Text="Hủy" Width="100px" Font-Bold="true"
            OnClick="btnCancel_Click" />
    </div>
  
</asp:Content>
